//
//  NovaDayValueFormatter.swift
//  NovaRings
//
//  Created by 李然 on 2023/3/6.
//

import Foundation

class NovaDayValueFormatter: NSObject, NovaXAxisValueFormatter {
    
    func string(at index: Int) -> String {
        if index == 0 {
            return "0"
        }
        let realIndex = index + 1
        if realIndex % 6 == 0 {
            return "\(realIndex)"
        }
        return ""
    }
}
